package VN.EDU.IMIC.DEVELOPER.VUVANLUANLEVEL2.EXR0304;

public class models {
public double AreaHCN(informationside objcal){
	double result = objcal.getHeight()*objcal.getWidth();
	return result;
}
public double PerimeterHCN(informationside objcal){
	double result = 2*(objcal.getHeight() + objcal.getWidth());
	return result;
}
public double areaHV(informationside objcal){
	double result = objcal.getSide()*objcal.getSide();
	return result;
}
public double perimeterHV(informationside objcal){
	double result = 4*objcal.side;
	return result;
}
}
